import { createApp, ref } from "vue";
import App from "./App.vue";
import router from "./router";
// import ElementPlus from "element-plus";
// import "element-plus/dist/index.css";
import https from "./api/httpadapt.js";
// import * as ElIcons from '@element-plus/icons-vue'
// import "./assets/el.scss";
import "./assets/css/fullpage.min.css";
import "./assets/iconfont.css";
// import "./assets/css/animate.min.css";
import "lib-flexible";
// import "lib-flexible-computer";
// import setRem from "./utils/rem";
// import 'element-plus/lib/theme-chalk/index.css'
// import 'dayjs/locale/zh-cn' //中文
// import locale from 'element-plus/lib/locale/lang/zh-cn' //中文

// import "fullpage.js/vendors/scrolloverflow";
import VueFullPage from "vue-fullpage.js";
import dispatchEventStorage from "./utils/watchLocalStorage";
console.log(dispatchEventStorage);
const app = createApp(App);

app.config.globalProperties.$https = https;
// .use(ElementPlus, { locale })
app.use(router);
app.use(dispatchEventStorage);
app.use(VueFullPage);
app.mount("#app");
